package org.itboys.core.service.mongo.front;

import org.itboys.core.entity.mongo.SundayTrayApply;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 作者：zzq
 * 时间：2018/12/5
 * 描述：托盘申请
 */
@Service
public class SundayFrontTrayApplyService extends BaseMongoService<SundayTrayApply> {
    @Resource(name = "mobileDs")
    private MongoDataSource sundayDataSource;
    @Override
    protected MongoDataSource getMongoDataSource() {
        return sundayDataSource;
    }
    @Override
    protected Class<SundayTrayApply> getEntityClass() {
        return SundayTrayApply.class;
    }

}
